	<template>
		<view class="con mt20">
			<view v-html="page"></view>
		</view>
	</template>

	<script>
		export default {
			data() {
				return {
					page: '',
					title: ""
				}
			},
			onLoad(option) {

				if (option.yinsi) {
					this.http('/api/get_agreement/3').then(res => {
						this.page = res.data.content
						uni.setNavigationBarTitle({
							title: res.data.title
						})
					})
				}else if(option.guanyu){
					this.http('/api/get_agreement/7').then(res => {
						this.page = res.data.content
						uni.setNavigationBarTitle({
							title: res.data.title
						})
					})
				}else if(option.wenzhang){
					this.http('/api/article/details/'+option.wenzhang).then(res => {
						this.page = res.data.content
					})
				}
			},
			methods: {
				 
			}
		}
	</script>

	<style>
		page {
			padding-top: 0;
			line-height: 1.4;
		}

		/deep/ img {
			max-width: 100%;
		}

		img {
			max-width: 100%;
		}

		.mmtn {
			padding-top: 10px;
			padding-bottom: 10px;
		}
	</style>